import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import elementui from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import store from './store/index.js'
import https from '@/api/request.js'
import {
	permissions,
	permission
} from '@/utils/permission'

Vue.use(elementui)

const plugins = [
	permissions,
	permission
]

plugins.map((plugin) => {
	Vue.use(plugin);
})

Vue.config.productionTip = false
const editabletabs = []
const editabletabs_value = {
	"active-tab": ''
}
Vue.prototype.$editabletabs = editabletabs
Vue.prototype.$editabletabs_value = editabletabs_value
Vue.prototype.$https = https

new Vue({
	render: h => h(App),
	router: router,
	store: store
}).$mount('#app')
